
#ifndef MyRunManager_h
#define MyRunManager_h 1

#include "G4RunManager.hh"
#include "MyGenContainer.hh"
#include "MyBaseGen.hh"

class MyRunManager: public G4RunManager
{
public:
    MyRunManager();
    ~MyRunManager();

    void BeamOn(G4int, G4bool);

private:
    void GenValidEvents(G4int);
    MyBaseGen* m_GenPtr;
};

#endif